package com.sdlight.snowflake.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 站点首页.
 *
 * @author lihaitao
 */
@Controller
@RequestMapping("/home")
public class HomeController {

    /**
     * 站点首页.
     *
     * @return the ModelAndView
     */
    @RequestMapping(value = "/index")
    public ModelAndView index() {
        ModelAndView mv = new ModelAndView();
        mv.setViewName("/home/index");
        return mv;
    }
}
